package com.vcc.data.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 工号
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_notice")
public class Notice extends BaseEntity implements Serializable {

    @Column(comment = "标题",value = "title")
    private String title;

    @Column(comment = "内容",value = "content")
    private String content;

    @Column(comment = "类型",value = "type")
    private Integer type;

    @Column(comment = "是否弹窗",value = "has_popup")
    private Boolean hasPopup;

    @Column(comment = "状态",value = "status")
    private Boolean status;

    @Column(comment = "开始时间",value = "start_date")
    private Date startDate;

    @Column(comment = "结束时间",value = "end_date")
    private Date endDate;
}
